/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package domain.exceptions;

/**
 *
 * @author shaigi
 */
public class CannotMoveThereException extends Throwable{

    private String _message;
    
    public CannotMoveThereException() {
        this._message = "";
    }
    public CannotMoveThereException(String message) {
        this._message = message;
    }
    @Override
    public String getMessage(){
        return this._message;
    }
}   
    
